package com.ruoyi.asms.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 故障反馈阶段信息对象 asms_fault_feedback_stage
 * 
 * @author yfkj
 * @date 2021-10-21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AsmsFaultFeedbackStage
{
    private static final long serialVersionUID = 1L;
    /** 故障反馈阶段信息主键 */
    @TableField(exist = true)
    @TableId(type= IdType.AUTO)
    @ApiModelProperty(value =  "${comment}")
    private Long faultFeedbackStageId;
    /** 故障外键 */
    @Excel(name = "故障外键")
    @TableField(exist = true)
    @ApiModelProperty(value =  "故障外键")
    private Long faultAssetId;
    /** 处理人外键 */
    @Excel(name = "处理人外键")
    @TableField(exist = true)
    @ApiModelProperty(value =  "处理人外键")
    private Long feedbackResolveUserId;
    /** 投诉、反馈、回访申请人 */
    @Excel(name = "投诉、反馈、回访申请人")
    @TableField(exist = true)
    @ApiModelProperty(value =  "投诉、反馈、回访申请人")
    private Long feedbackUserId;
    /** 开始时间 */
    @Excel(name = "开始时间")
    @TableField(exist = true)
    @ApiModelProperty(value =  "开始时间")
    private Long startTime;
    /** 结束时间 */
    @Excel(name = "结束时间")
    @TableField(exist = true)
    @ApiModelProperty(value =  "结束时间")
    private Long endTime;
    /** 类型(1用户投诉、2用户反馈、3维护公司回访) */
    @Excel(name = "类型(1用户投诉、2用户反馈、3维护公司回访)")
    @TableField(exist = true)
    @ApiModelProperty(value =  "类型(1用户投诉、2用户反馈、3维护公司回访)")
    private Integer feedbackType;
    /** 投诉反馈回访类型 */
    @Excel(name = "投诉反馈回访类型")
    @TableField(exist = true)
    @ApiModelProperty(value =  "投诉反馈回访类型")
    private String feedbackReason;
    /** 投诉反馈回访内容 */
    @Excel(name = "投诉反馈回访内容")
    @TableField(exist = true)
    @ApiModelProperty(value =  "投诉反馈回访内容")
    private String feedbackContent;
    /** 状态(0正在处理中、1分配处理人员、2处理结束) */
    @Excel(name = "状态(0正在处理中、1分配处理人员、2处理结束)")
    @TableField(exist = true)
    @ApiModelProperty(value =  "状态(0正在处理中、1分配处理人员、2处理结束)")
    private Integer status;
    /** 处理情况记录 */
    @Excel(name = "处理情况记录")
    @TableField(exist = true)
    @ApiModelProperty(value =  "处理情况记录")
    private String resolveInfo;
    public static final String FAULT_FEEDBACK_STAGE_ID="fault_feedback_stage_id";
    public static final String FAULT_ASSET_ID="fault_asset_id";
    public static final String FEEDBACK_RESOLVE_USER_ID="feedback_resolve_user_id";
    public static final String FEEDBACK_USER_ID="feedback_user_id";
    public static final String START_TIME="start_time";
    public static final String END_TIME="end_time";
    public static final String FEEDBACK_TYPE="feedback_type";
    public static final String FEEDBACK_REASON="feedback_reason";
    public static final String FEEDBACK_CONTENT="feedback_content";
    public static final String STATUS="status";
    public static final String RESOLVE_INFO="resolve_info";
    public static final String CREATE_BY="create_by";
    public static final String CREATE_TIME="create_time";
    public static final String UPDATE_BY="update_by";
    public static final String UPDATE_TIME="update_time";
    public static final String REMARK="remark";
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("faultFeedbackStageId", getFaultFeedbackStageId())

            .append("feedbackResolveUserId", getFeedbackResolveUserId())
            .append("feedbackUserId", getFeedbackUserId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("feedbackType", getFeedbackType())
            .append("feedbackReason", getFeedbackReason())
            .append("feedbackContent", getFeedbackContent())
            .append("status", getStatus())
            .append("resolveInfo", getResolveInfo())

            .toString();
    }
}
